package com.ft.f_springboot_route.service;


import com.ft.f_springboot_route.bean.Banner;
import com.ft.f_springboot_route.utils.Pager;

import java.util.List;

public interface BannerService {

    public Pager<Banner> selectBannerAll(Integer routeId, Integer currentPage);

    public Long selectBannerTotal(Integer routeId);

    public Banner selectBannerById(Integer banId);

    public void addBanner(Banner banner);

    public void editBannerById(Banner banner);

    public void deleteBannerById(Integer banId);

    public void deleteBannerByRouteId(Integer routeId);

    public List<Banner> selectBannerByRouteId(Integer routeId);





}
